3.24 \(\int \frac{(c i+d i x)^3 (A+B \log (\frac{e (a+b x)}{c+d x}))}{a g+b g x} \, dx\)
Optimal. Leaf size=356 \[ \frac{B i^3 (b c-a d)^3 \text{PolyLog}\left (2,\frac{b (c+d x)}{d (a+b x)}\right )}{b^4 g}+\frac{i^3 (c+d x)^2 (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{2 b^2 g}+\frac{d i^3 (a+b x) (b c-a d)^2 \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{b^4 g}-\frac{i^3 (b c-a d)^3 \log \left (1-\frac{b (c+d x)}{d (a+b x)}\right ) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{b^4 g}+\frac{i^3 (c+d x)^3 \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{3 b g}-\frac{B i^3 (c+d x)^2 (b c-a d)}{6 b^2 g}-\frac{5 B d i^3 x (b c-a d)^2}{6 b^3 g}-\frac{5 B i^3 (b c-a d)^3 \log \left (\frac{a+b x}{c+d x}\right )}{6 b^4 g}-\frac{11 B i^3 (b c-a d)^3 \log (c+d x)}{6 b^4 g} \]
[Out]
(-5*B*d*(b*c - a*d)^2*i^3*x)/(6*b^3*g) - (B*(b*c - a*d)*i^3*(c + d*x)^2)/(6*b^2*g) - (5*B*(b*c - a*d)^3*i^3*Lo
g[(a + b*x)/(c + d*x)])/(6*b^4*g) + (d*(b*c - a*d)^2*i^3*(a + b*x)*(A + B*Log[(e*(a + b*x))/(c + d*x)]))/(b^4*
g) + ((b*c - a*d)*i^3*(c + d*x)^2*(A + B*Log[(e*(a + b*x))/(c + d*x)]))/(2*b^2*g) + (i^3*(c + d*x)^3*(A + B*Lo
g[(e*(a + b*x))/(c + d*x)]))/(3*b*g) - (11*B*(b*c - a*d)^3*i^3*Log[c + d*x])/(6*b^4*g) - ((b*c - a*d)^3*i^3*(A
+ B*Log[(e*(a + b*x))/(c + d*x)])*Log[1 - (b*(c + d*x))/(d*(a + b*x))])/(b^4*g) + (B*(b*c - a*d)^3*i^3*PolyLo
g[2, (b*(c + d*x))/(d*(a + b*x))])/(b^4*g)
________________________________________________________________________________________
Rubi [A] time = 0.601841, antiderivative size = 436, normalized size of antiderivative =
1.22, number of steps used = 23, number of rules used = 13, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.325,
Rules used = {2528, 2486, 31, 2524, 12, 2418, 2390, 2301, 2394, 2393, 2391, 2525, 43}
\[ \frac{B i^3 (b c-a d)^3 \text{PolyLog}\left (2,-\frac{d (a+b x)}{b c-a d}\right )}{b^4 g}+\frac{i^3 (c+d x)^2 (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{2 b^2 g}+\frac{i^3 (b c-a d)^3 \log (a g+b g x) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{b^4 g}+\frac{A d i^3 x (b c-a d)^2}{b^3 g}+\frac{i^3 (c+d x)^3 \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{3 b g}+\frac{B d i^3 (a+b x) (b c-a d)^2 \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}-\frac{B i^3 (c+d x)^2 (b c-a d)}{6 b^2 g}-\frac{5 B d i^3 x (b c-a d)^2}{6 b^3 g}-\frac{B i^3 (b c-a d)^3 \log ^2(g (a+b x))}{2 b^4 g}-\frac{5 B i^3 (b c-a d)^3 \log (a+b x)}{6 b^4 g}-\frac{B i^3 (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{B i^3 (b c-a d)^3 \log (a g+b g x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{b^4 g} \]
Antiderivative was successfully verified.
[In]
Int[((c*i + d*i*x)^3*(A + B*Log[(e*(a + b*x))/(c + d*x)]))/(a*g + b*g*x),x]
[Out]
(A*d*(b*c - a*d)^2*i^3*x)/(b^3*g) - (5*B*d*(b*c - a*d)^2*i^3*x)/(6*b^3*g) - (B*(b*c - a*d)*i^3*(c + d*x)^2)/(6
*b^2*g) - (5*B*(b*c - a*d)^3*i^3*Log[a + b*x])/(6*b^4*g) - (B*(b*c - a*d)^3*i^3*Log[g*(a + b*x)]^2)/(2*b^4*g)
+ (B*d*(b*c - a*d)^2*i^3*(a + b*x)*Log[(e*(a + b*x))/(c + d*x)])/(b^4*g) + ((b*c - a*d)*i^3*(c + d*x)^2*(A + B
*Log[(e*(a + b*x))/(c + d*x)]))/(2*b^2*g) + (i^3*(c + d*x)^3*(A + B*Log[(e*(a + b*x))/(c + d*x)]))/(3*b*g) - (
B*(b*c - a*d)^3*i^3*Log[c + d*x])/(b^4*g) + ((b*c - a*d)^3*i^3*(A + B*Log[(e*(a + b*x))/(c + d*x)])*Log[a*g +
b*g*x])/(b^4*g) + (B*(b*c - a*d)^3*i^3*Log[(b*(c + d*x))/(b*c - a*d)]*Log[a*g + b*g*x])/(b^4*g) + (B*(b*c - a*
d)^3*i^3*PolyLog[2, -((d*(a + b*x))/(b*c - a*d))])/(b^4*g)
Rule 2528
Int[((a_.) + Log[(c_.)*(RFx_)^(p_.)]*(b_.))^(n_.)*(RGx_), x_Symbol] :> With[{u = ExpandIntegrand[(a + b*Log[c*
RFx^p])^n, RGx, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c, p}, x] && RationalFunctionQ[RFx, x] && RationalF
unctionQ[RGx, x] && IGtQ[n, 0]
Rule 2486
Int[Log[(e_.)*((f_.)*((a_.) + (b_.)*(x_))^(p_.)*((c_.) + (d_.)*(x_))^(q_.))^(r_.)]^(s_.), x_Symbol] :> Simp[((
a + b*x)*Log[e*(f*(a + b*x)^p*(c + d*x)^q)^r]^s)/b, x] + Dist[(q*r*s*(b*c - a*d))/b, Int[Log[e*(f*(a + b*x)^p*
(c + d*x)^q)^r]^(s - 1)/(c + d*x), x], x] /; FreeQ[{a, b, c, d, e, f, p, q, r, s}, x] && NeQ[b*c - a*d, 0] &&
EqQ[p + q, 0] && IGtQ[s, 0]
Rule 31
Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]
Rule 2524
Int[((a_.) + Log[(c_.)*(RFx_)^(p_.)]*(b_.))^(n_.)/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[(Log[d + e*x]*(a + b
*Log[c*RFx^p])^n)/e, x] - Dist[(b*n*p)/e, Int[(Log[d + e*x]*(a + b*Log[c*RFx^p])^(n - 1)*D[RFx, x])/RFx, x], x
] /; FreeQ[{a, b, c, d, e, p}, x] && RationalFunctionQ[RFx, x] && IGtQ[n, 0]
Rule 12
Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] && !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]
Rule 2418
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*(RFx_), x_Symbol] :> With[{u = ExpandIntegrand[
(a + b*Log[c*(d + e*x)^n])^p, RFx, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c, d, e, n}, x] && RationalFunct
ionQ[RFx, x] && IntegerQ[p]
Rule 2390
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[((f*x)/d)^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
&& EqQ[e*f - d*g, 0]
Rule 2301
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(x_), x_Symbol] :> Simp[(a + b*Log[c*x^n])^2/(2*b*n), x] /; FreeQ[{a
, b, c, n}, x]
Rule 2394
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[(e*(f +
g*x))/(e*f - d*g)]*(a + b*Log[c*(d + e*x)^n]))/g, x] - Dist[(b*e*n)/g, Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]
Rule 2393
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Dist[1/g, Subst[Int[(a +
b*Log[1 + (c*e*x)/g])/x, x], x, f + g*x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[e*f - d*g, 0] && EqQ[g
+ c*(e*f - d*g), 0]
Rule 2391
Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
e, n}, x] && EqQ[c*d, 1]
Rule 2525
Int[((a_.) + Log[(c_.)*(RFx_)^(p_.)]*(b_.))^(n_.)*((d_.) + (e_.)*(x_))^(m_.), x_Symbol] :> Simp[((d + e*x)^(m
+ 1)*(a + b*Log[c*RFx^p])^n)/(e*(m + 1)), x] - Dist[(b*n*p)/(e*(m + 1)), Int[SimplifyIntegrand[((d + e*x)^(m +
1)*(a + b*Log[c*RFx^p])^(n - 1)*D[RFx, x])/RFx, x], x], x] /; FreeQ[{a, b, c, d, e, m, p}, x] && RationalFunc
tionQ[RFx, x] && IGtQ[n, 0] && (EqQ[n, 1] || IntegerQ[m]) && NeQ[m, -1]
Rule 43
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])
Rubi steps
\begin{align*} \int \frac{(24 c+24 d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{a g+b g x} \, dx &=\int \left (\frac{13824 d (b c-a d)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^3 g}+\frac{576 d (b c-a d) (24 c+24 d x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{24 d (24 c+24 d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^3 (a g+b g x)}\right ) \, dx\\ &=\frac{\left (13824 (b c-a d)^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{a g+b g x} \, dx}{b^3}+\frac{(24 d) \int (24 c+24 d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \, dx}{b g}+\frac{(576 d (b c-a d)) \int (24 c+24 d x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \, dx}{b^2 g}+\frac{\left (13824 d (b c-a d)^2\right ) \int \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \, dx}{b^3 g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}-\frac{B \int \frac{13824 (b c-a d) (c+d x)^2}{a+b x} \, dx}{3 b g}-\frac{(12 B (b c-a d)) \int \frac{576 (b c-a d) (c+d x)}{a+b x} \, dx}{b^2 g}+\frac{\left (13824 B d (b c-a d)^2\right ) \int \log \left (\frac{e (a+b x)}{c+d x}\right ) \, dx}{b^3 g}-\frac{\left (13824 B (b c-a d)^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a g+b g x)}{e (a+b x)} \, dx}{b^4 g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}-\frac{(4608 B (b c-a d)) \int \frac{(c+d x)^2}{a+b x} \, dx}{b g}-\frac{\left (6912 B (b c-a d)^2\right ) \int \frac{c+d x}{a+b x} \, dx}{b^2 g}-\frac{\left (13824 B d (b c-a d)^3\right ) \int \frac{1}{c+d x} \, dx}{b^4 g}-\frac{\left (13824 B (b c-a d)^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a g+b g x)}{a+b x} \, dx}{b^4 e g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}-\frac{13824 B (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}-\frac{(4608 B (b c-a d)) \int \left (\frac{d (b c-a d)}{b^2}+\frac{(b c-a d)^2}{b^2 (a+b x)}+\frac{d (c+d x)}{b}\right ) \, dx}{b g}-\frac{\left (6912 B (b c-a d)^2\right ) \int \left (\frac{d}{b}+\frac{b c-a d}{b (a+b x)}\right ) \, dx}{b^2 g}-\frac{\left (13824 B (b c-a d)^3\right ) \int \left (\frac{b e \log (a g+b g x)}{a+b x}-\frac{d e \log (a g+b g x)}{c+d x}\right ) \, dx}{b^4 e g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}-\frac{11520 B d (b c-a d)^2 x}{b^3 g}-\frac{2304 B (b c-a d) (c+d x)^2}{b^2 g}-\frac{11520 B (b c-a d)^3 \log (a+b x)}{b^4 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}-\frac{13824 B (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}-\frac{\left (13824 B (b c-a d)^3\right ) \int \frac{\log (a g+b g x)}{a+b x} \, dx}{b^3 g}+\frac{\left (13824 B d (b c-a d)^3\right ) \int \frac{\log (a g+b g x)}{c+d x} \, dx}{b^4 g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}-\frac{11520 B d (b c-a d)^2 x}{b^3 g}-\frac{2304 B (b c-a d) (c+d x)^2}{b^2 g}-\frac{11520 B (b c-a d)^3 \log (a+b x)}{b^4 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}-\frac{13824 B (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}+\frac{13824 B (b c-a d)^3 \log \left (\frac{b (c+d x)}{b c-a d}\right ) \log (a g+b g x)}{b^4 g}-\frac{\left (13824 B (b c-a d)^3\right ) \int \frac{\log \left (\frac{b g (c+d x)}{b c g-a d g}\right )}{a g+b g x} \, dx}{b^3}-\frac{\left (13824 B (b c-a d)^3\right ) \operatorname{Subst}\left (\int \frac{g \log (x)}{x} \, dx,x,a g+b g x\right )}{b^4 g^2}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}-\frac{11520 B d (b c-a d)^2 x}{b^3 g}-\frac{2304 B (b c-a d) (c+d x)^2}{b^2 g}-\frac{11520 B (b c-a d)^3 \log (a+b x)}{b^4 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}-\frac{13824 B (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}+\frac{13824 B (b c-a d)^3 \log \left (\frac{b (c+d x)}{b c-a d}\right ) \log (a g+b g x)}{b^4 g}-\frac{\left (13824 B (b c-a d)^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a g+b g x\right )}{b^4 g}-\frac{\left (13824 B (b c-a d)^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c g-a d g}\right )}{x} \, dx,x,a g+b g x\right )}{b^4 g}\\ &=\frac{13824 A d (b c-a d)^2 x}{b^3 g}-\frac{11520 B d (b c-a d)^2 x}{b^3 g}-\frac{2304 B (b c-a d) (c+d x)^2}{b^2 g}-\frac{11520 B (b c-a d)^3 \log (a+b x)}{b^4 g}-\frac{6912 B (b c-a d)^3 \log ^2(g (a+b x))}{b^4 g}+\frac{13824 B d (b c-a d)^2 (a+b x) \log \left (\frac{e (a+b x)}{c+d x}\right )}{b^4 g}+\frac{6912 (b c-a d) (c+d x)^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b^2 g}+\frac{4608 (c+d x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{b g}-\frac{13824 B (b c-a d)^3 \log (c+d x)}{b^4 g}+\frac{13824 (b c-a d)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (a g+b g x)}{b^4 g}+\frac{13824 B (b c-a d)^3 \log \left (\frac{b (c+d x)}{b c-a d}\right ) \log (a g+b g x)}{b^4 g}+\frac{13824 B (b c-a d)^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{b^4 g}\\ \end{align*}
Mathematica [A] time = 0.265892, size = 352, normalized size = 0.99 \[ \frac{i^3 \left (-3 B (b c-a d)^3 \left (\log (g (a+b x)) \left (\log (g (a+b x))-2 \log \left (\frac{b (c+d x)}{b c-a d}\right )\right )-2 \text{PolyLog}\left (2,\frac{d (a+b x)}{a d-b c}\right )\right )+3 b^2 (c+d x)^2 (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )+2 b^3 (c+d x)^3 \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )+6 (b c-a d)^3 \log (g (a+b x)) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )+6 A b d x (b c-a d)^2-B (b c-a d) \left (2 b d x (b c-a d)+2 (b c-a d)^2 \log (a+b x)+b^2 (c+d x)^2\right )+6 B d (a+b x) (b c-a d)^2 \log \left (\frac{e (a+b x)}{c+d x}\right )-6 B (b c-a d)^3 \log (c+d x)-3 B (b c-a d)^2 ((b c-a d) \log (a+b x)+b d x)\right )}{6 b^4 g} \]
Antiderivative was successfully verified.
[In]
Integrate[((c*i + d*i*x)^3*(A + B*Log[(e*(a + b*x))/(c + d*x)]))/(a*g + b*g*x),x]
[Out]
(i^3*(6*A*b*d*(b*c - a*d)^2*x - 3*B*(b*c - a*d)^2*(b*d*x + (b*c - a*d)*Log[a + b*x]) - B*(b*c - a*d)*(2*b*d*(b
*c - a*d)*x + b^2*(c + d*x)^2 + 2*(b*c - a*d)^2*Log[a + b*x]) + 6*B*d*(b*c - a*d)^2*(a + b*x)*Log[(e*(a + b*x)
)/(c + d*x)] + 3*b^2*(b*c - a*d)*(c + d*x)^2*(A + B*Log[(e*(a + b*x))/(c + d*x)]) + 2*b^3*(c + d*x)^3*(A + B*L
og[(e*(a + b*x))/(c + d*x)]) + 6*(b*c - a*d)^3*Log[g*(a + b*x)]*(A + B*Log[(e*(a + b*x))/(c + d*x)]) - 6*B*(b*
c - a*d)^3*Log[c + d*x] - 3*B*(b*c - a*d)^3*(Log[g*(a + b*x)]*(Log[g*(a + b*x)] - 2*Log[(b*(c + d*x))/(b*c - a
*d)]) - 2*PolyLog[2, (d*(a + b*x))/(-(b*c) + a*d)])))/(6*b^4*g)
________________________________________________________________________________________
Maple [B] time = 0.192, size = 4594, normalized size = 12.9 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((d*i*x+c*i)^3*(A+B*ln(e*(b*x+a)/(d*x+c)))/(b*g*x+a*g),x)
[Out]
1/2*B*i^3/g/b*ln(b*e/d+(a*d-b*c)*e/d/(d*x+c))^2*c^3+A*i^3/g/b*ln(b*e/d+(a*d-b*c)*e/d/(d*x+c))*c^3-B*i^3/g/b*di
log(-(d*(b*e/d+(a*d-b*c)*e/d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*i
^3/g*ln(b*e/d+(a*d-b*c)*e/d/(d*x+c))/(d*e/(d*x+c)*a-e/(d*x+c)*b*c)^3*c^3*b^2-3/2*e^2*d*A*i^3/g/(d*e/(d*x+c)*a-
e/(d*x+c)*b*c)^2*c^2*a+1/6*e^2*d^3*B*i^3/g/b^2/(d*e/(d*x+c)*a-e/(d*x+c)*b*c)^2*a^3-e^3*d^2*A*i^3/g/(d*e/(d*x+c
)*a-e/(d*x+c)*b*c)^3*a^2*c
________________________________________________________________________________________
Maxima [B] time = 1.58277, size = 1148, normalized size = 3.22 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((d*i*x+c*i)^3*(A+B*log(e*(b*x+a)/(d*x+c)))/(b*g*x+a*g),x, algorithm="maxima")
[Out]
3*A*c^2*d*i^3*(x/(b*g) - a*log(b*x + a)/(b^2*g)) - 1/6*A*d^3*i^3*(6*a^3*log(b*x + a)/(b^4*g) - (2*b^2*x^3 - 3*
a*b*x^2 + 6*a^2*x)/(b^3*g)) + 3/2*A*c*d^2*i^3*(2*a^2*log(b*x + a)/(b^3*g) + (b*x^2 - 2*a*x)/(b^2*g)) + A*c^3*i
^3*log(b*g*x + a*g)/(b*g) - 1/6*(11*b^2*c^3*i^3 - 15*a*b*c^2*d*i^3 + 6*a^2*c*d^2*i^3)*B*log(d*x + c)/(b^3*g) +
(b^3*c^3*i^3 - 3*a*b^2*c^2*d*i^3 + 3*a^2*b*c*d^2*i^3 - a^3*d^3*i^3)*(log(b*x + a)*log((b*d*x + a*d)/(b*c - a*
d) + 1) + dilog(-(b*d*x + a*d)/(b*c - a*d)))*B/(b^4*g) + 1/6*(2*B*b^3*d^3*i^3*x^3*log(e) + ((9*i^3*log(e) - i^
3)*b^3*c*d^2 - (3*i^3*log(e) - i^3)*a*b^2*d^3)*B*x^2 + 3*(b^3*c^3*i^3 - 3*a*b^2*c^2*d*i^3 + 3*a^2*b*c*d^2*i^3
- a^3*d^3*i^3)*B*log(b*x + a)^2 + ((18*i^3*log(e) - 7*i^3)*b^3*c^2*d - 6*(3*i^3*log(e) - 2*i^3)*a*b^2*c*d^2 +
(6*i^3*log(e) - 5*i^3)*a^2*b*d^3)*B*x + (2*B*b^3*d^3*i^3*x^3 + 3*(3*b^3*c*d^2*i^3 - a*b^2*d^3*i^3)*B*x^2 + 6*(
3*b^3*c^2*d*i^3 - 3*a*b^2*c*d^2*i^3 + a^2*b*d^3*i^3)*B*x + (6*b^3*c^3*i^3*log(e) - 18*(i^3*log(e) - i^3)*a*b^2
*c^2*d + 9*(2*i^3*log(e) - 3*i^3)*a^2*b*c*d^2 - (6*i^3*log(e) - 11*i^3)*a^3*d^3)*B)*log(b*x + a) - (2*B*b^3*d^
3*i^3*x^3 + 3*(3*b^3*c*d^2*i^3 - a*b^2*d^3*i^3)*B*x^2 + 6*(3*b^3*c^2*d*i^3 - 3*a*b^2*c*d^2*i^3 + a^2*b*d^3*i^3
)*B*x + 6*(b^3*c^3*i^3 - 3*a*b^2*c^2*d*i^3 + 3*a^2*b*c*d^2*i^3 - a^3*d^3*i^3)*B*log(b*x + a))*log(d*x + c))/(b
^4*g)
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{A d^{3} i^{3} x^{3} + 3 \, A c d^{2} i^{3} x^{2} + 3 \, A c^{2} d i^{3} x + A c^{3} i^{3} +{\left (B d^{3} i^{3} x^{3} + 3 \, B c d^{2} i^{3} x^{2} + 3 \, B c^{2} d i^{3} x + B c^{3} i^{3}\right )} \log \left (\frac{b e x + a e}{d x + c}\right )}{b g x + a g}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((d*i*x+c*i)^3*(A+B*log(e*(b*x+a)/(d*x+c)))/(b*g*x+a*g),x, algorithm="fricas")
[Out]
integral((A*d^3*i^3*x^3 + 3*A*c*d^2*i^3*x^2 + 3*A*c^2*d*i^3*x + A*c^3*i^3 + (B*d^3*i^3*x^3 + 3*B*c*d^2*i^3*x^2
+ 3*B*c^2*d*i^3*x + B*c^3*i^3)*log((b*e*x + a*e)/(d*x + c)))/(b*g*x + a*g), x)
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((d*i*x+c*i)**3*(A+B*ln(e*(b*x+a)/(d*x+c)))/(b*g*x+a*g),x)
[Out]
Timed out
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (d i x + c i\right )}^{3}{\left (B \log \left (\frac{{\left (b x + a\right )} e}{d x + c}\right ) + A\right )}}{b g x + a g}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((d*i*x+c*i)^3*(A+B*log(e*(b*x+a)/(d*x+c)))/(b*g*x+a*g),x, algorithm="giac")
[Out]
integrate((d*i*x + c*i)^3*(B*log((b*x + a)*e/(d*x + c)) + A)/(b*g*x + a*g), x)